import 'package:flutter_application_1/http/http.dart';

class VideoService {
  static const String rootPath = '/video';
  static const String listPath = '/$rootPath/list';
  static const String infoPath = '/$rootPath/info';

  static Future getVideos({int page = 1, int limit = 10}) async {
    final response =
        await Http.post(listPath, data: {"page": page, "limit": limit});
    return response;
  }
}
